package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.Activitytype;
import org.hxyjs.page.PageInfo;

public interface ActivitytypeService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<Activitytype> getAllActivitytypes() throws Exception;

    /**
     * 删除学生
     * @param atno
     * @return
     * @throws Exception
     */
    public DTO<Activitytype> deleteActivitytypeByAtno(String atno) throws Exception;
    /**
     *  修改学生
     * @param activitytype
     * @return
     */
    public DTO<Activitytype> updateActivitytype(Activitytype activitytype)  throws Exception;
    /**
     *  增加学生
     * @param activitytype
     * @return
     */
    public DTO<Activitytype> addActivitytype(Activitytype activitytype)  throws Exception;

    /**
     * 根据主键查询学生
     * @param atno
     * @return
     * @throws Exception
     */
    public DTO<Activitytype> getActivitytypeByAtno(String atno) throws Exception;

    public DTO<Activitytype> getActivitytypeByPage(PageInfo pageInfo) throws Exception;


}
